RemoveTags
Description
call RemoveTags unbind the label under the specified load balancing instance.
Request Method
POST
Request Path
/apsara/route/Slb/RemoveTags
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
LoadBalancerId | BODY | string | Yes | lb-bp1b6c719dfa08ex**** | load balancing instance ID. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. |
version | BODY | string | No | 2016-01-01 | version of api |
Tags | BODY | string | Yes | [{"TagKey":"Key1","TagValue":"Value1"},{"TagKey":"Key2","TagValue":"Value2"}] | Tag list to be unbound. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 365F4154-92F6-4AE4-92F8-7FF34B540710 | request ID. |
Example
Successful Response example
{
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: RemoveVServerGroupBackendServers
sidebar_position: 3
RemoveVServerGroupBackendServers
Description
call RemoveVServerGroupBackendServers to remove the backend server from the specified backend server group.
Request Method
POST
Request Path
/apsara/route/Slb/RemoveVServerGroupBackendServers
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
VServerGroupId | BODY | string | Yes | rsp-cige6**** | backend server group ID. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. |
BackendServers | BODY | string | Yes | [{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "192.XX.XX. 6", "Port":"80","Description":"test-112" },{ "ServerId": "eni-xxxxxxxxx", "Weight": "100", "Type": "eni", "ServerIp": "172.XX.XX. 6", "Port":"80","Description":"test-113" }] | backend server group list. Each server group can contain up to 20 back-end servers in a single call. Value: is a Json string, and its structure is a JsonList. In a request, the list supports up to 20 elements. ServerId:String type, required, instance ID of the backend server, ECS instance ID or ENI instance ID. Port:Integer type, required, port used by backend server, value range:1~65535. Weight:Integer type, required, weight of backend server, value range:0~100. Description :String type, optional, backend server description, 1-80 characters in length, allow letters, numbers, dashes (-), forward slashes (/), English periods (.), and underscores (_). Chinese is supported. Type:String type, indicating the instance type of the backend server, value: ecs:ECS instance (default). eni: ENI instance. ServerIp: instance IP of ECS or ENI. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
VServerGroupId | string | rsp-cige6j**** | server group ID. |
ServerId | string | vm-230 | ECS instance ID or ENI instance ID. |
RequestId | string | 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C | request ID. |
BackendServer | No sample value for this parameter. | No description for this parameter. | |
Port | integer | 80 | the port used by the backend server. |
BackendServers | array of backendserver | No sample value for this parameter. | backend server list. |
Weight | integer | 100 | the weight of the back-end server. |
Example
Successful Response example
{
"VServerGroupId":"rsp-cige6j****",
"ServerId":"vm-230",
"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
"BackendServer":"",
"Port":"80",
"BackendServers":"",
"Weight":"100"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}